package com.xuehu.cloud.controller;

import com.xuehu.cloud.service.IMessageProvider;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * @author guoweia@cslc.com.cn
 * @create 2020/12/16 14:13
 * @desc
 */
@RestController
public class SendMsgController {
    @Resource
    private IMessageProvider messageProvider;

    @GetMapping(path = "/sendMessage")
    public String sendMessage(){
        return messageProvider.sendMsg();
    }

}
